package com.zp.base.api;


import com.zp.base.api.bo.PriceListBo;

import java.util.Collection;

/**
 * @program: zp-backstage
 * @ClassName RemotePriceListService
 * @description:
 * @author: zhangpeng
 * @create: 2023-09-13 11:07
 * @Version 1.0
 **/
public interface RemotePriceListService {


    /**
     * 修改价表
     */
    PriceListBo insertByBo (PriceListBo bo);

    /**
     * 修改价表
     */
    Boolean updateByBo (PriceListBo bo);

    /**
     * 校验并批量删除价表信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);

    /**
     * 停价
     *
     * @param bo
     * @return
     */
    Boolean stopPrice (PriceListBo bo);

    /**
     * 调价
     *
     * @param bo
     * @return
     */
    Boolean priceAdjustment (PriceListBo bo);

    /**
     * 启用
     *
     * @param bo
     * @return
     */
    Boolean priceEnable (PriceListBo bo);


}
